package com.liuzu.esys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {

    private Integer order_number;//订单号

    private String name;//商品名称

    private String user_name;//用户名称

    private Boolean comment_grade;//评价等级
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date comment_time;//评价时间

    private String comment_content;//评价内容
}
